package emulator.GUI.joystick;

import javax.swing.JFrame;

import emulator.GUI.PersistentFrame;
import emulator.hardware.io.peripherals.Joystick;

@SuppressWarnings("serial")
public class VicJoystickFrame extends PersistentFrame
{
	Joystick joystick;
	
	public VicJoystickFrame(Joystick joystick)
	{
		super("Vic Joystick");
		this.joystick = joystick;
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		add(new VicJoystickCanvas(joystick));
	}

}
